package App.Model.Project;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigInteger;

/**
 * Created by xw on 2018/11/27.
 */


@Entity

public class CrmProjectMember {

    @Column(name = "recid")
    @Id
    private String recid;

    @Column(name = "stageid")
    private int stageid;

    @Column(name = "groupid")
    private String groupid;

    @Column(name = "userid")
    private int userid;

    @Column(name = "username")
    private String username;
    @Column(name = "projectid")
    private String projectid;

    @Column(name = "ismanager")
    private boolean ismanager;

    @Column(name = "ishost")
    private boolean ishost;


    @Column(name = "grouptype")
    private int grouptype;

    @Column(name = "innergrouptype")
    private int innergrouptype;

    @Column(name = "relatedid")
    private String relatedid;

    public String getRecid() {
        return recid;
    }

    public void setRecid(String recid) {
        this.recid = recid;
    }   public String getProjectid() {
        return projectid;
    }

    public void setProjectid(String projectid) {
        this.projectid = projectid;
    }

    public int getStageid() {
        return stageid;
    }

    public void setStageid(int stageid) {
        this.stageid = stageid;
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public boolean getIsmanager() {
        return ismanager;
    }

    public void setIsmanager(boolean ismanager) {
        this.ismanager = ismanager;
    }

    public int getGrouptype() {
        return grouptype;
    }

    public void setGrouptype(int grouptype) {
        this.grouptype = grouptype;
    }

    public int getInnergrouptype() {
        return innergrouptype;
    }


    public void setInnergrouptype(int innergrouptype) {
        this.innergrouptype = innergrouptype;
    }

    public String getRelatedid() {
        return relatedid;
    }

    public void setRelatedid(String relatedid) {
        this.relatedid = relatedid;
    }

    public boolean ishost() {
        return ishost;
    }

    public void setIshost(boolean ishost) {
        this.ishost = ishost;
    }

}
